﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Enter.Services.Statistics.DTO;
using System.Web;
using Enter.Common.Statistics;

namespace Enter.Services.Statistics
{
	public  partial interface IStatistics
	{
		/// <summary>
		/// 返回生成图片
		/// </summary>
		/// <param name="info"></param>
		/// <returns></returns>
		byte[] ImgSrc(UserPvInfo info);


		/// <summary>
		/// 根据图片Url获取用户Id
		/// </summary>
		/// <param name="url">图片URL地址</param>
		/// <returns>用户ID</returns>
		int GetUserId(HttpContextBase HttpContext);

		/// <summary>
		/// 根据ID生成Img图片名称
		/// </summary>
		/// <param name="uid"></param>
		/// <returns></returns>
		string GenerateImgSrc(int uid);

		/// <summary>
		/// 显示个类型默认图片
		/// </summary>
		/// <returns></returns>
		string ShowSrc(ImgStateType ImgState);

	}
}
